#include <iostream>
#include "Animal.h"
#include "Dog.h"
using namespace std;

int main() {
    Animal animal_0 = Animal();
    Animal animal_1 = Dog();
    animal_0.bark();
    animal_1.bark();
    animal_0.laugh();
    animal_1.laugh();
    cout << endl;

    Animal* p1 = new Animal;
    Animal* p2 = new Dog;
    p1->bark();
    p2->bark();
    p1->laugh();
    p2->laugh();
    
    return 0;
}